fix(rust): Check crates.io instead of git tags for version release status#30
Merged
fix(rust): Check crates.io instead of git tags for version release status#30
Conversation
Adding CLAUDE.md with task information for AI processing. This file will be removed when the task is complete. Issue: #29
…atus The release workflow incorrectly determined that versions were "already released" by checking if a git tag exists. This caused false positives because git tags can exist without the package being published to crates.io. Changes: - Check crates.io API to verify if version is actually published - Add verbose logging for debugging (crate name, version, publish status) - Use head -1 to extract only package name/version (not lib/bin names) Also adds case study documentation for issue #29 with: - Timeline of events - Root cause analysis - CI logs and metadata Fixes #29 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This reverts commit bb5019b.
Member
Author
🤖 Solution Draft LogThis log file contains the complete execution trace of the AI solution draft process. 💰 Cost estimation:
Now working session is ended, feel free to review and add any feedback on the solution draft. |
This was referenced Jan 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR fixes a false positive in the release workflow where versions were incorrectly marked as "already released" when they were never published to crates.io.
Problem
The release workflow checked if a git tag exists to determine if a version was already released:
This caused false positives because:
browser-commanderhas 10 GitHub releases (v0.1.1 - v0.5.4) but NONE on crates.ioSolution
Changed the version check to query crates.io API directly:
This ensures we only skip releases when the version is actually published on crates.io.
Changes
.github/workflows/rust.yml: Updated version check logic to query crates.io APIdocs/case-studies/issue-29/: Added comprehensive case study documentation including:Test Plan
References
Fixes #29
🤖 Generated with Claude Code